package com.exhr.pojo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Tdepartment entity. @author MyEclipse Persistence Tools
 */

public class Tdepartment implements java.io.Serializable {

	// Fields

	private Integer depid;
	private Tdepartment tdepartment;
	private Temployee temployee;
	private String depname;
	private Date depsdate;
	private Date depedate;
	private Integer depanum;
	private Integer depfnum;
	private Integer deptnum;
	private String depdesc;
	private String depnote;
	private Set tposts = new HashSet(0);
	private Set tdepartments = new HashSet(0);

	// Constructors

	/** default constructor */
	public Tdepartment() {
	}

	/** full constructor */
	public Tdepartment(Tdepartment tdepartment, Temployee temployee,
			String depname, Date depsdate, Date depedate, Integer depanum,
			Integer depfnum, Integer deptnum, String depdesc, String depnote,
			Set tposts, Set tdepartments) {
		this.tdepartment = tdepartment;
		this.temployee = temployee;
		this.depname = depname;
		this.depsdate = depsdate;
		this.depedate = depedate;
		this.depanum = depanum;
		this.depfnum = depfnum;
		this.deptnum = deptnum;
		this.depdesc = depdesc;
		this.depnote = depnote;
		this.tposts = tposts;
		this.tdepartments = tdepartments;
	}

	// Property accessors

	public Integer getDepid() {
		return this.depid;
	}

	public void setDepid(Integer depid) {
		this.depid = depid;
	}

	public Tdepartment getTdepartment() {
		return this.tdepartment;
	}

	public void setTdepartment(Tdepartment tdepartment) {
		this.tdepartment = tdepartment;
	}

	public Temployee getTemployee() {
		return this.temployee;
	}

	public void setTemployee(Temployee temployee) {
		this.temployee = temployee;
	}

	public String getDepname() {
		return this.depname;
	}

	public void setDepname(String depname) {
		this.depname = depname;
	}

	public Date getDepsdate() {
		return this.depsdate;
	}

	public void setDepsdate(Date depsdate) {
		this.depsdate = depsdate;
	}

	public Date getDepedate() {
		return this.depedate;
	}

	public void setDepedate(Date depedate) {
		this.depedate = depedate;
	}

	public Integer getDepanum() {
		return this.depanum;
	}

	public void setDepanum(Integer depanum) {
		this.depanum = depanum;
	}

	public Integer getDepfnum() {
		return this.depfnum;
	}

	public void setDepfnum(Integer depfnum) {
		this.depfnum = depfnum;
	}

	public Integer getDeptnum() {
		return this.deptnum;
	}

	public void setDeptnum(Integer deptnum) {
		this.deptnum = deptnum;
	}

	public String getDepdesc() {
		return this.depdesc;
	}

	public void setDepdesc(String depdesc) {
		this.depdesc = depdesc;
	}

	public String getDepnote() {
		return this.depnote;
	}

	public void setDepnote(String depnote) {
		this.depnote = depnote;
	}

	public Set getTposts() {
		return this.tposts;
	}

	public void setTposts(Set tposts) {
		this.tposts = tposts;
	}

	public Set getTdepartments() {
		return this.tdepartments;
	}

	public void setTdepartments(Set tdepartments) {
		this.tdepartments = tdepartments;
	}

}